Writing Lambda for Function Functional Interface